package com.rykj.qxj.server.model.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Entity
@Table(name="apply_api")
public class ApplyApi {
    @Id
    @GeneratedValue
    private int id;
    @ApiModelProperty(value = "应用名称")
    @NotNull
    private Integer  applyId;
    @ApiModelProperty(value = "应用名称")
    @NotNull
    private Integer  apiId;
    @ApiModelProperty(value = "应用名称")
    private String  apiVersion;
    @ApiModelProperty(value = "应用名称")
    private String  status;
    @ApiModelProperty(value = "应用名称")
    private String  createdBy;
    @ApiModelProperty(value = "应用名称")
    private Date   createdTime;

}
